<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Info extends MY_Controller {

	function __construct()
	{
		parent::__construct();
		
		
	}

	function index()
	{
        $page_index = $this->uri->segment(2);
        if(!$page_index)
        {
            $page_index = 1;
        }
                
        $page = OxInfo::from_id($page_index);
        
        $data['page'] = $page;
        
        $toc = OxInfo::TOC($page->id);
        
        $data2['boxes'] = array($this->Box("About Oximity", $toc));
        
		$this->ShowHeader();
		$this->load->view('info_page', $data);
        $this->load->view('box_frame', $data2);
		$this->ShowFooter();
	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */